let content = document.querySelector('.content')
let btn = document.querySelector('.btn')
let joke = [
	"hhhhhh",
	"xxxxxxx",
	"eeeeeeeeeeeee",
	"ddddddddddd",
	"Why did the fireman wear red, white, and blue suspenders? To hold his pants up.",
];

btn.addEventListener('click', (e) => {
    let random = Math.floor(Math.random() * (joke.length));
    content.innerHTML = joke[random]
})